package ie.lawlor.amvc.patterns.main;

import ie.lawlor.amvc.event.Event;
import ie.lawlor.amvc.patterns.standard.StandardModel;



/**
 * @author blawlor
 *
 */
public class MainModel extends StandardModel {

    /**
     * 
     */
    public MainModel(String name) {
        super(name);
    }

    /**
     * @param threadingEnabled
     */
    public MainModel(String name, boolean threadingEnabled) {
        super(name, threadingEnabled);
    }

	public void doStart(Event event) {
		fireShowView();
    }
    
    public void doExit(Event event) {
    	fireHideView();
    }
}
